/*  
Theme Name: Modern-Blue
Theme URI: http://llamaslayers.googlecode.com/
Description: A light blue theme with rounded corners and gravatar and widget support
Version: 1.7.9
Author: Nightgunner5 and Sir Soybean
Author URI: http://llamaslayers.net/
*/

  #the_title p, #the_footer p, #the_description p {
    margin: 0;
  }

  a img,:link img,:visited img {border: none;}

  body {
    text-align: center;
  }
  #container {
    width: 718px;
    text-align: left;
    margin: 0 auto;
  }
  #main-content {
    float: left;
    width: 470px;
  }
  #sidebar {
    float: right;
    width: 230px;
  }
  #footer {
    clear: both;
  }

  /* general layout */

  body {
    font-family: Tahoma, Helvetica, Arial, sans-serif;
    font-size: 83%;
    margin: 0;
    padding: 0;
    border-top: 1em solid white;
    border-bottom: 1em solid white;
    background: white;
  }
  body div#container {
    padding: 0;
    margin-top: 0;
    border-top: 1em solid white; /* a hack: without it Firefox adds top margin in layouts with sidebar */
    background: url(images/box-fill.gif) center repeat-y;
  }
  div#container div.wrapper {
    padding: 0;
    margin: 0;
    background: url(images/box-top.gif) top center no-repeat;
  }
  div#container div.wrapper div {
    background: transparent;
  }
  div#header {
    padding: 0 50px;
    padding-top: 2em;
    padding-bottom: 4em;
    margin: 0;
    margin-bottom: 0;
    background: url(images/box-bottomtop.gif) bottom center no-repeat !important;
  }
  div#header div.wrapper {
    padding: 0;
    margin: 0;
  }
  div#main-content {
    line-height: 160%;
    color: #3f3f3f;
    overflow: hidden;
  }
  div#main-content div.wrapper {
    background: transparent;
  }
  div#sidebar {
    font-size: 83%;
    line-height: 140%;
    color: #3f3f3f;
    padding: 0;
    margin: 0;
  }
  div#sidebar {
    background: transparent;
  }
  div#footer {
    color: #cc0000;
    background: url(images/box-bottom.gif) bottom center no-repeat !important;
    padding-bottom: 2em;
    text-align: center;
  }

  /* adjusting widths for different layouts */

  body#onecolumn div#main-content {
    padding: 0 8px;
    width: 702px;
  }

  body#twocolumn-right div#main-content {
    margin-left: 8px;
    margin-right: 20px;
    width: 442px;
    display: inline;
  }
  body#twocolumn-right div#sidebar {
    margin-right: 10px;
    padding-left: 20px;
    width: 200px;
    border-left: 1px solid #d6d7ff;
    display: inline;
  }
  body#twocolumn-right div#sidebar ul, body#twocolumn-right div#sidebar p {
    margin-left: 5px;
  }

  /* general styles: headings */

  h1, h2, h3, h4, h5, h6, p.description {
    font-family: Tahoma, Helvetica, Arial, sans-serif; 
  }
  h1 {
    font-size: 160%;
    font-weight: bold;
    color: #7476bd;
    background: url(images/tab-fill.gif) left repeat-y;
    padding-left: 42px;
    line-height: 1.2em;
    padding-bottom: 0.05em;
    margin-top: 2em;
  }
  h2 {
    font-size: 160%;
    font-weight: normal;
    color: #7476bd;
    background: url(images/tab-fill.gif) left repeat-y;
    padding-left: 42px;
    line-height: 1.2em;
    padding-bottom: 0.05em;
	margin-bottom: 0;
  }
  h3 {
    font-size: 110%;
    font-weight: bold;
    color: #7476bd;
    background: url(images/tab-fill.gif) left repeat-y;
    padding-left: 42px;
    line-height: 1.2em;
    padding-bottom: 0.05em;
    margin-top: 2em;
	margin-bottom: 0;
  }
  h4 {
    font-size: 100%;
    font-weight: bold;
    color: #7476bd;
    background: url(images/tab-fill.gif) left repeat-y;
    padding-left: 42px;
    line-height: 1.2em;
    padding-bottom: 0.05em;
    margin-top: 2em;
  }
  h5 {
    font-size: 100%;
    font-weight: bold;
    color: #7476bd;
    padding-left: 42px;
    line-height: 1.2em;
    padding-bottom: 0.05em;
    margin-top: 2em;
  }
  h6 {
    font-size: 100%;
    font-weight: normal;
    color: #7476bd;
    padding-left: 42px;
    line-height: 1.2em;
    padding-bottom: 0.05em;
    margin-top: 2em;
  }
  hr {
    background: white;
    height: 1px;
    border: 0;
    border-top: 1px solid #d6d7ff;
    margin: 2em 42px !important;
  }
  blockquote {
    font-weight: normal;
    color: #555;
    background-color: #e1e2fa;
    border: 1px solid #d6d7ff;
    border-left: 30px solid #d2d4fa;
    border-right: none;
    padding: 0;
    text-align: justify;
    text-indent: 10px;
    margin-left: 0 !important;
    margin-right: -1px !important;
  }
  body#twocolumn-right blockquote {
    background-color: transparent;
    border-top: none;
    border-bottom: none;
    color: #777;
    padding-right: 1px;
  }
  blockquote p {
    margin-left: 12px;
  }
  form#searchform div input[type="submit"] {
    display: none;
  }
  form#searchform div input#s {
    width: 175px;
  }

  p, ul, ol, table, blockquote, hr, dl {
    margin-left: 42px;
    margin-right: 42px;
  }
  #main-content p {
    text-indent: 10px;
    text-align: justify;
  }
  p.postmetadata {
    text-indent: 0 !important;
  }
  p.postmetadata img.gravatar {
    float:left;
    margin-right:5px;
    width:80px;
    height:80px;
  }
  p.attachment {
    text-align: center !important;
    text-indent: 0 !important;
    font-size: 65%;
  }


  /* general styles: links */

  a {
    color: #7476bd;
    text-decoration: none;
    border-bottom: 1px solid #7476bd; /* this underline is further away from the text = more legibility */
  }
  a:visited {
    color: #7476bd;
    text-decoration: none;
    border-bottom: 1px dotted #7476bd; /* this underline is further away from the text = more legibility */
  }

  /* general styles: lists */

  ul, ol {
    padding-left: 1.8em;
  }
  ul ul, ol ol {
    margin-left: 0px !important;
  }
  dt {
    padding-left: 0;
    margin-left: 0;
  }
  dd {
    padding-left: 0;
    margin-left: 1.8em;
  }
  dl {
    padding-left: 0;
  }
  ol.commentlist {
    list-style-type: none;
    padding-left: 0;
  }
  ol.commentlist li.alt {
    background-color: #EEEFFF;
    margin-bottom: 3px;
  }
  ol.commentlist li {
    padding: 5px;
    border: 1px solid #7476BD;
    -moz-border-radius: 10px;
    -moz-border-radius-topright: 0;
    margin-bottom: 2px;
  }
  ol.commentlist li img.gravatar {
    float:right;
    margin: -5px -5px 5px 5px;
    border: 1px solid #7476BD;
    border-width: 0 0 1px 1px;
  }
  ol.commentlist li.author {
    background-color: #FFFEEE;
    border: 2px solid #7476BD;
  }
  ol.commentlist li.author img.gravatar {
    border-width: 0 0 2px 2px;
  }
  ol.commentlist li.editor {
    background-color: #FFFEEE;
    border: 3px solid #7476BD;
  }
  ol.commentlist li.editor img.gravatar {
    border-width: 0 0 3px 3px;
  }
  ol.commentlist li.admin {
    background-color: #FFFEEE;
    border: 4px solid #7476BD;
  }
  ol.commentlist li.admin img.gravatar {
    border-width: 0 0 4px 4px;
  }
  ol.commentlist li p {
    margin-left: 0;
  }

  /* general styles: tables */

  table {
    border-collapse: collapse;
    margin-top: 1em;
    margin-bottom: 1em;
  }

  table td,table th {
    padding: 0.3em 0.6em;
    vertical-align: top;
    text-align: left;
  }
  table th {
    border-bottom: 1px dotted #7476bd;
    color: #7476bd;
  }
  table caption {
    text-align: center;
    font-weight: bold;
    color: black;
    padding: 0 42px;
 /*   _padding: 0 0px;  hack for IE6: it understands padding differently here */
  }

  /* specific styles */

  h1#page-title {
    font-size: 300%;
    font-weight: bold;
    color: #7476bd;
    letter-spacing: -1px;
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
    line-height: 120%;
    background: transparent;
  }
  div#the_description {
    font-size: 140%;
    font-weight: normal;
    color: #7476bd; 
    text-align: right;
  }

  /* corrections for different layouts */

  div#sidebar h1, div#sidebar h2, div#sidebar h3, div#sidebar h4, div#sidebar h5, div#sidebar h6
   {
    background: transparent;
    padding-left: 0px;
    line-height: 120%;
  }
  body#twocolumn-right div#header {
    padding-right: 50px;
  }

  body#twocolumn-right p, body#twocolumn-right ul, body#twocolumn-right ol, body#twocolumn-right table, 
  body#twocolumn-right blockquote, body#twocolumn-right hr, body#twocolumn-right dl {
    margin-right: 0px;
  }